

#ifndef __JUMPJUMP_LOOPBG_H__
#define __JUMPJUMP_LOOPBG_H__




class LoopBackGround 
{
public:
    LoopBackGround();

	void Init(cocos2d::CCNode* container, cocos2d::CCTexture2D* texture, const cocos2d::CCPoint& pos, int interval);

	void GetMove(int speed);

	void Tick(float dt);

public:

	int a_b_interval;

	cocos2d::CCSprite* bg_a;
	cocos2d::CCSprite* bg_b;

};

















#endif



